﻿// <copyright file="Committee.cs" company="Microsoft Corporation">
// Copyright (c) 2009 Microsoft Corporation All Rights Reserved
// </copyright>
// <author>Michael S. Scherotter</author>
// <email>mischero@microsoft.com</email>
// <date>2009-05-21</date>
// <summary>Congress Member Committee class definition</summary>

namespace NYTimes.Data
{
    using System;

    /// <summary>
    /// Congress member committee
    /// </summary>
    public class Committee
    {
        /// <summary>
        /// Gets or sets the Name
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the Code
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// Gets or sets the rank in party for the member of congress on the committee
        /// </summary>
        public int RankInParty { get; set; }

        /// <summary>
        /// Gets or sets the congress member's committee membership begin date
        /// </summary>
        public DateTime BeginDate { get; set; }

        /// <summary>
        /// Gets or sets the congress member's committee membership end date
        /// </summary>
        public DateTime EndDate { get; set; }
    }
}
